.class public Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Ljava/util/Observer;


# instance fields
.field private A:Lcom/waiqin365/compons/view/c;

.field public a:Landroid/os/Handler;

.field private b:Landroid/content/Context;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/ImageView;

.field private j:Landroid/widget/ImageView;

.field private k:Landroid/widget/ImageView;

.field private l:Lcom/waiqin365/base/login/mainview/CircleImageView;

.field private m:Landroid/widget/Button;

.field private n:Landroid/widget/Button;

.field private o:Ljava/lang/String;

.field private p:Ljava/lang/String;

.field private q:Ljava/lang/String;

.field private r:Ljava/lang/String;

.field private s:Ljava/lang/String;

.field private t:Ljava/lang/String;

.field private u:Ljava/lang/String;

.field private v:Ljava/lang/String;

.field private w:Lcom/waiqin365/base/login/d/o;

.field private x:Z

.field private y:Landroid/view/View;

.field private z:Landroid/widget/LinearLayout;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Lcom/waiqin365/lightwork/directory/t;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightwork/directory/t;-><init>(Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->a:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;
    .locals 1

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->a(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    return-object v0
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;
    .locals 5

    const/4 v0, 0x0

    :try_start_0
    new-instance v1, Landroid/content/ContentValues;

    invoke-direct {v1}, Landroid/content/ContentValues;-><init>()V

    const-string/jumbo v2, "name"

    invoke-virtual {v1, v2, p1}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v2

    sget-object v3, Landroid/provider/Contacts$People;->CONTENT_URI:Landroid/net/Uri;

    invoke-virtual {v2, v3, v1}, Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;

    move-result-object v2

    const-string/jumbo v3, "phones"

    invoke-static {v2, v3}, Landroid/net/Uri;->withAppendedPath(Landroid/net/Uri;Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-virtual {v1}, Landroid/content/ContentValues;->clear()V

    const-string/jumbo v3, "type"

    const/4 v4, 0x2

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V

    const-string/jumbo v3, "number"

    invoke-virtual {v1, v3, p2}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v3

    invoke-virtual {v3, v2, v1}, Landroid/content/ContentResolver;->insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;

    move-result-object v1

    if-nez v1, :cond_1

    :cond_0
    :goto_0
    return-object v0

    :cond_1
    invoke-virtual {v1}, Landroid/net/Uri;->toString()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "0"

    invoke-virtual {v2, v3}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v2

    if-nez v2, :cond_0

    move-object v0, v1

    goto :goto_0

    :catch_0
    move-exception v1

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->y:Landroid/view/View;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->A:Lcom/waiqin365/compons/view/c;

    return-object p1
.end method

.method private a(Ljava/lang/String;)V
    .locals 3

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "tel:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string/jumbo v2, "android.intent.action.CALL"

    invoke-direct {v1, v2, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->overridePendingTransition(II)V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->z:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method private b()V
    .locals 4

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v0, "id"

    invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->o:Ljava/lang/String;

    const-string/jumbo v0, "name"

    invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->p:Ljava/lang/String;

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->b:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->o:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/offlinedata/m;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->q:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    const-string/jumbo v0, "emp_position"

    invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->r:Ljava/lang/String;

    const-string/jumbo v0, "phone"

    invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    const-string/jumbo v0, "tel"

    invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    const-string/jumbo v0, "pic_url"

    invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->u:Ljava/lang/String;

    const-string/jumbo v0, "sendable"

    const/4 v2, 0x1

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->x:Z

    const-string/jumbo v0, "toChatUsername"

    invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->v:Ljava/lang/String;

    :try_start_1
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    const/16 v2, 0x8

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/base/login/d/o;

    invoke-direct {v1, v0}, Lcom/waiqin365/base/login/d/o;-><init>(Ljava/lang/String;)V

    iput-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->w:Lcom/waiqin365/base/login/d/o;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->p:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->b:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/m;->i(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    if-eqz v1, :cond_0

    iget-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->p:Ljava/lang/String;

    :try_start_2
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->b:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->o:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/offlinedata/m;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->q:Ljava/lang/String;
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2

    :goto_2
    iget-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->j:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->r:Ljava/lang/String;

    iget-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->d:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    iget-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->e:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    iget-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->l:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->u:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->b:Landroid/content/Context;

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/login/mainview/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "_"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->v:Ljava/lang/String;

    :cond_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->q:Ljava/lang/String;

    goto/16 :goto_0

    :catch_1
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_1

    :catch_2
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->q:Ljava/lang/String;

    goto :goto_2
.end method

.method static synthetic c(Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->p:Ljava/lang/String;

    return-object v0
.end method

.method private c()V
    .locals 5

    const/4 v4, 0x1

    const/4 v2, 0x0

    const/16 v3, 0x8

    const v0, 0x7f0c0700

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->y:Landroid/view/View;

    const v0, 0x7f0c0701

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->z:Landroid/widget/LinearLayout;

    const v0, 0x7f0c06ea

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->c:Landroid/widget/TextView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c06e8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->i:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->i:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c06ef

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->d:Landroid/widget/TextView;

    const v0, 0x7f0c06f2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->e:Landroid/widget/TextView;

    const v0, 0x7f0c06f6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->f:Landroid/widget/TextView;

    const v0, 0x7f0c06f9

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->g:Landroid/widget/TextView;

    const v0, 0x7f0c06fe

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->h:Landroid/widget/TextView;

    const v0, 0x7f0c06ee

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/CircleImageView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->l:Lcom/waiqin365/base/login/mainview/CircleImageView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->l:Lcom/waiqin365/base/login/mainview/CircleImageView;

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/CircleImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c06fa

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->j:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->j:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c06ff

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->k:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->k:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0702

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->m:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->m:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0704

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->n:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->n:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->k:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->k:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->k:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setClickable(Z)V

    :cond_1
    iget-boolean v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->x:Z

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->n:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setVisibility(I)V

    const v0, 0x7f0c0703

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->d:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->p:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->q:Ljava/lang/String;

    if-eqz v0, :cond_5

    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->q:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->e:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->q:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->r:Ljava/lang/String;

    if-eqz v0, :cond_6

    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->r:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->f:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->r:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    if-eqz v0, :cond_7

    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    const-string/jumbo v1, "&&"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    const-string/jumbo v1, "&&"

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    aget-object v0, v0, v4

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->w:Lcom/waiqin365/base/login/d/o;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/d/o;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_3
    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->g:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    if-eqz v0, :cond_8

    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    const-string/jumbo v1, "&&"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    const-string/jumbo v1, "&&"

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    aget-object v0, v0, v4

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    :try_start_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->w:Lcom/waiqin365/base/login/d/o;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/d/o;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    :cond_4
    :goto_4
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->h:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_5
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->b:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->m(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "face"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "_small.jpg?timestamp="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->u:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->b:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->l:Lcom/waiqin365/base/login/mainview/CircleImageView;

    invoke-static {v1, v2, v0}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    return-void

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->e:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f08026c

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->f:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f08026d

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_2

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->g:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f08026e

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c06f3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    const v0, 0x7f0c06f7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_3

    :catch_1
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_4

    :cond_8
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->h:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f08026f

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c06fb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    const v0, 0x7f0c06fc

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_5
.end method

.method static synthetic d(Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    return-object v0
.end method

.method private d()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->b:Landroid/content/Context;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->m:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->m:Landroid/widget/Button;

    const v1, 0x7f080265

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->m:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->m:Landroid/widget/Button;

    const v1, 0x7f080270

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method static synthetic e(Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->b:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->d()V

    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->A:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 3

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightwork/directory/a/a/a;

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->o:Ljava/lang/String;

    invoke-direct {v1, v0, v2}, Lcom/waiqin365/lightwork/directory/a/a/a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightwork/directory/a/a;

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->a:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightwork/directory/a/a;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightwork/directory/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/a/a;->start()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 8

    const v2, 0x7f08026e

    const v7, 0x7f040022

    const v6, 0x7f040021

    const/4 v5, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->back()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->a(Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v5}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->t:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->a(Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f08026f

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v5}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->s:Ljava/lang/String;

    if-eqz v0, :cond_3

    new-instance v0, Lcom/waiqin365/lightwork/directory/u;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightwork/directory/u;-><init>(Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;)V

    new-array v1, v5, [Ljava/lang/Void;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/directory/u;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    goto :goto_0

    :cond_3
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v5}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->v:Ljava/lang/String;

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v1

    invoke-virtual {v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    const v0, 0x7f080073

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->v:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->v:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->b:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/im/activity/ChatActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "toChatUsername"

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->v:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "userId"

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->o:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "userName"

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->p:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "pic_url"

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->u:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/16 v1, 0x66

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->startActivityForResult(Landroid/content/Intent;I)V

    invoke-virtual {p0, v7, v6}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->overridePendingTransition(II)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    const-class v1, Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v1, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentActivity;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v1, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v1

    const-string/jumbo v2, "close_activity"

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3, v0}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/util/List;)V

    goto/16 :goto_0

    :sswitch_5
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->b:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->m(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "face"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ".jpg?timestamp="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->u:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    new-instance v2, Ljava/util/HashMap;

    invoke-direct {v2}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v3, "image_id"

    const-string/jumbo v4, "0"

    invoke-virtual {v2, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, "path"

    invoke-virtual {v2, v3, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/waiqin365/compons/camera/CameraPreviewActivity;

    invoke-direct {v0, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "from"

    const-string/jumbo v3, "person_head"

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v2, "position"

    invoke-virtual {v0, v2, v5}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v2, "photolist"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v7, v6}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c06e8 -> :sswitch_0
        0x7f0c06ee -> :sswitch_5
        0x7f0c06fa -> :sswitch_1
        0x7f0c06ff -> :sswitch_2
        0x7f0c0702 -> :sswitch_3
        0x7f0c0704 -> :sswitch_4
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    iput-object p0, p0, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->b:Landroid/content/Context;

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f03012f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->c()V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryPersonnelDetailsActivity;->a()V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    return-void
.end method

.method protected onResume()V
    .locals 0

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    return-void
.end method
